package org.backend.canteenbackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("category")
public class Category {
    //主键
    @TableId(value="catid",type= IdType.INPUT)
    private String categoryId;

    private String name;

    @TableField(value="descn")
    private String description;
}